//
//  LoadingViewController.h
//  NewsReader
//
//  Created by blacksun on 11-2-19.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "User.h"
@class NewsReaderAppDelegate;
#import "LoadingSectionViewController.h"
#import "HttpUtil.h"

#define kLoadingSectionSize	18

@interface LoadingViewController : UIViewController {
	UIView *sectionContainer;
	NewsReaderAppDelegate *appDelegate;
	BOOL finishLayout;
	BOOL finishRequest;
	NSArray *colorArray;
	UIActivityIndicatorView *activeView;
	HttpUtil *activeHttp;

	NSOperationQueue *operationQueue;
}
@property (nonatomic, retain) IBOutlet 	UIActivityIndicatorView *activeView;
@property (nonatomic, retain) IBOutlet 	UIView *sectionContainer;
@property (nonatomic, retain) NSArray *colorArray;
@property (nonatomic, retain) HttpUtil *activeHttp;
@property (nonatomic, retain) NSOperationQueue *operationQueue;
-(void) gotoMainPage;
-(void) buildChildren;

@end
